//C06: 6.12 for_cube.c
// for loop to create a cube.
#include <stdio.h>

int main(void)
{
    int num;
    printf("\tn\tn cubed\n");
    for (num = 1; num <= 6; num++)
    {
        printf("%5d %5d\n", num, num * num * num);
    }
}